﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.WMS_LC4.Interface.Observer
{
    /// <summary>
    /// 抽象的观察者(如本例子中的：TV,Computer)
    /// </summary>
    public interface IObserver
    {
        /// <summary>
        /// 更新(自身改变)
        /// </summary>
        /// <param name="obj"></param>
        void Update(Object obj);
    }
}
